package com.vedeng.study.request;

import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @author: Thresh.xie
 * @Date: 2021/12/14
 */
public class BlogVO {

    /** 博客id */
    private Long blogid;

    /** 博客标题 */
    private String blogtitle;

    /** 博客作者id */
    private String blogauthor;

    /** 删除标识,0:未删除;1:删除 */
    private String isdel;

    /** 创建者 */
    private String creator;

    /**  修改者 */
    private String updater;

    /** 创建时间 */
    private Date addtime;

    /**  修改时间 */
    private Date modtime;

    /**
     * 博客内容
     */
    private String blogContent;

    /** 修改前博客内容 */
    private String oldBlogContent;

    //1.编辑，2新增
    private Integer type;

    //评论
    private String comment;


    //博客作者名字
    private String userName;

    public Long getBlogid() {
        return blogid;
    }

    public void setBlogid(Long blogid) {
        this.blogid = blogid;
    }

    public String getBlogtitle() {
        return blogtitle;
    }

    public void setBlogtitle(String blogtitle) {
        this.blogtitle = blogtitle;
    }

    public String getBlogauthor() {
        return blogauthor;
    }

    public void setBlogauthor(String blogauthor) {
        this.blogauthor = blogauthor;
    }

    public String getIsdel() {
        return isdel;
    }

    public void setIsdel(String isdel) {
        this.isdel = isdel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getUpdater() {
        return updater;
    }

    public void setUpdater(String updater) {
        this.updater = updater;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    public Date getModtime() {
        return modtime;
    }

    public void setModtime(Date modtime) {
        this.modtime = modtime;
    }

    public String getBlogContent() {
        return blogContent;
    }

    public void setBlogContent(String blogContent) {
        this.blogContent = blogContent;
    }

    public String getOldBlogContent() {
        return oldBlogContent;
    }

    public void setOldBlogContent(String oldBlogContent) {
        this.oldBlogContent = oldBlogContent;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
